package com.guowei.jiecloudbackstage.staff.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ym
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Staff对象", description="")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工编号")
    @TableId(value = "staffId", type = IdType.AUTO)
    private Integer staffId;

    @ApiModelProperty(value = "登录账号")
    @TableField("staffLoginName")
    private String staffLoginName;

    @ApiModelProperty(value = "登录密码")
    @TableField("staffLoginPwd")
    private String staffLoginPwd;

    @ApiModelProperty(value = "员工姓名")
    @TableField("staffName")
    private String staffName;

    @ApiModelProperty(value = "员工性别")
    private String sex;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "职位")
    private String position;


}
